package com.hqu.environment.dao;

import com.hqu.environment.dto.VerificationCodeDTO;

import java.util.List;

/**
 * @Description: 验证码DAO
 * @Date: 2019/04/19 16:52
 * @Author: 邓勇嘉
 **/
public interface VerificationCodeDao {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(VerificationCodeDTO record);

    VerificationCodeDTO selectByPrimaryKey(Integer id);

    List<VerificationCodeDTO> selectList(String statement);

    int updateByPrimaryKeySelective(VerificationCodeDTO record);

    VerificationCodeDTO selectByPhone(String phone);

    int updateByPhoneSelective(VerificationCodeDTO record);
}
